home *** CD-ROM | disk | FTP | other *** search
- // Class: CLASS_NAME
-
- //////////////////////////.cpp file/////////////////////////////////////////////////////
- #include "stdafx.h"
- #include "TRUNCATE_EIGHT$CLASS_NAME$.h"
-
- // Functions for class CLASS_NAME
- [
- // Function: OPERATION_NAME
- // Purpose: OPERATION_COMMENT1
- // Parameters: CPP_OPERATION_PARAMETERS
- // Comments: OPERATION_COMMENT2
- OPERATION_RETURN_TYPE CLASS_NAME::OPERATION_NAME(CPP_OPERATION_PARAMETERS) CPP_OPERATION_CONSTANT
- {
- OPERATION_CODE
- }
- ]
-
- //Operator<< insertion for cout
- //Update to access 1:M part class attributes
- //Update to access 1:1 associated class attributes
- //Update to access 1:M associated class attributes
- ostream& operator<< (ostream& os, CLASS_NAME$& a$CLASS_NAME)
- {
- [ os << (BASE_CLASS &) a$CLASS_NAME;]
- os << "Object Attribute Values - Class CLASS_NAME" << "\n";
- [ os << "ATTRIBUTE_NAME: " << a$CLASS_NAME$.$ATTRIBUTE_NAME << "\n";]
- [ os << " AGGREGATION_ONE_NAME$: " << a$CLASS_NAME$.$AGGREGATION_ONE_NAME << "\n";]
- return os;
- }
-
- //Operator>> extraction for cin
- //Update to access 1:M part class attributes
- //Update to access 1:1 associated class attributes
- //Update to access 1:M associated class attributes
- istream& operator>> (istream& is, CLASS_NAME$& a$CLASS_NAME)
- {
- [ is >> (BASE_CLASS &) a$CLASS_NAME;]
- cout << "\nEnter Object Attibute Values - Class CLASS_NAME";
- [ cout << "\nEnter ATTRIBUTE_NAME : " << "\n";
- is >> a$CLASS_NAME$.$ATTRIBUTE_NAME;]
- [ is >> a$CLASS_NAME$.$AGGREGATION_ONE_NAME;]
- return is;
- }
-
-